package ui.activity.mine.module;


import dagger.Module;
import dagger.Provides;
import ui.activity.mine.biz.ChangePwdBiz;
import ui.activity.mine.contract.ChangePwdContract;

/**
 * Created by chenjian on 19/2/26
 */
@Module
public class ChangePwdModule {
    private ChangePwdContract.View view;

    public ChangePwdModule(ChangePwdContract.View view) {
        this.view = view;
    }

    @Provides
    public ChangePwdContract.View provideView() {
        return view;
    }

    @Provides
    public ChangePwdBiz provideBiz() {
        return new ChangePwdBiz();
    }
}